home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 038a / aplibs91.zip / MAKEDEMO.BAT < prev    next >
DOS Batch File  |  1991-04-27  |  4KB  |  132 lines

  1. echo off
  2. cls
  3. echo .
  4. echo .    ╓──────────────────────────────────────────────────────────────────╖
  5. echo .    ║                                                                  ║
  6. echo .    ║  THIS BATCH FILE WILL CREATE THE FILES & DEMO FOR THE H.B.       ║
  7. echo .    ║                  ALL-PURPOSE  POWER-BASIC LIBRARY.               ║
  8. echo .    ║                                                                  ║
  9. echo .    ╙──────────────────────────────────────────────────────────────────╜
  10. echo .
  11. echo .
  12. echo .     In the process it will create OR OVER-WRITE the following files:
  13. echo .         pww.exe     ckwindow.inc    menus-u.pbu    hbdemo.exe
  14. echo .         sww.exe     enterdem.inc    boxes-u.pbu    hbdemo.drl      
  15. echo .     pubvars.exe       init-u.pbu   figdat-u.pbu    hbdemo.&pv
  16. echo .    opendemo.inc     fentry-u.pbu     misc-u.pbu    erfind.exe
  17. echo .    filedata.sw          quit.bat      new-u.pbu
  18. echo .
  19. echo .                   Requires: POWER BASIC 2.1
  20. echo .
  21. echo .      (You will need PBC.EXE in this directory or one on the path.)
  22. echo .
  23. echo PRESS CTRL-C TO QUIT, ANY OTHER KEY TO GO ON ...
  24. pause > nul
  25. cls
  26. echo .   Now, Ladies & Gents, for your pleasure and amazement, our first act!
  27. echo .   Two code-generating utilities will be compiled, then run. Their
  28. echo .   job is to write BASIC statements as $INCLUDE files, to open two types
  29. echo .   of windows on-screen in your programs. The template files, which look
  30. echo .   kind of like this in part ...
  31. echo .
  32. echo .                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  33. echo .                  ^   NAME: {                          ^
  34. echo .                  ^    SUN: {                          ^
  35. echo .                  ^   MOON: {                          ^
  36. echo .                  ^   ASCENDANT: {                     ^
  37. echo .                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  38. echo .
  39. echo .
  40. echo .   ... will end up looking like a proper window.
  41. echo .
  42. echo .       SWW.EXE creates  a display-only window that 
  43. echo .          can contain text and/or variables ...
  44. echo .
  45. PBC /ce sww
  46. if errorlevel 1 pause
  47. cls
  48. echo ...                     NOW TO MAKE A WINDOW
  49. echo ...                      =================
  50. SWW EnterDem Batch
  51. if errorlevel 1 pause
  52. echo ...                     AND ANOTHER WINDOW
  53. echo ...                      ================
  54. SWW OpenDemo Batch
  55. if errorlevel 1 pause
  56. echo ...                     AND ANOTHER WINDOW
  57. echo ...                      ================
  58. SWW FileData Batch
  59. if errorlevel 1 pause
  60. echo .
  61. echo .
  62. echo .
  63. echo .
  64. echo .
  65. echo .  PWW.EXE creates a full-featured interactive data-entry window.
  66. echo .
  67. PBC /ce pww
  68. if errorlevel 1 pause
  69. PWW CkWindow Batch
  70. if errorlevel 1 pause
  71. echo .
  72. echo .  PUBVARS.EXE searches all units named in a main program (such as
  73. echo .  this demo) and makes a sorted list of the EXTERNAL variables
  74. echo .  plus the statement PUBLIC, to be included in the main file at
  75. echo .  compile time.
  76. PBC /ce  pubvars
  77. if errorlevel 1 pause
  78. PUBVARS hbdemo
  79. echo .
  80. echo .
  81. echo .
  82. PBC /ce  erfind
  83. if errorlevel 1 pause
  84. if not exist quit.bat type quit.bat > quit.bat
  85. cls
  86. echo .
  87. echo .                NOW WE CAN COMPILE THE UNITS
  88. echo .
  89. PBC /cu menus-u
  90. if errorlevel 1 pause
  91. echo .
  92. echo .
  93. echo .
  94. PBC /cu boxes-u
  95. if errorlevel 1 pause
  96. echo .
  97. echo .
  98. echo .
  99. PBC /cu init-u
  100. if errorlevel 1 pause
  101. echo .
  102. echo .
  103. echo .
  104. PBC /cu figdat-u
  105. if errorlevel 1 pause
  106. echo .
  107. echo .
  108. echo .
  109. PBC /cu fentry-u
  110. if errorlevel 1 pause
  111. echo .
  112. echo .
  113. echo .
  114. PBC /cu misc-u
  115. if errorlevel 1 pause
  116. echo .
  117. echo .
  118. echo .
  119. PBC /cu new-u
  120. if errorlevel 1 pause
  121. echo .
  122. echo .
  123. echo .
  124. echo .   ... AND FINALLY WE CAN COMPILE & RUN THE DEMO ITSELF. DA-DAAAH!
  125. echo .
  126. PBC /ce  hbdemo
  127. echo .
  128. echo PRESS CTRL-C TO QUIT, ANY OTHER KEY TO GO ON ...
  129. pause > nul
  130. HBDEMO
  131.  
  132.